Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker image usage #3722

Closed
wants to merge 3 commits into from
Closed

Update docker image usage #3722

wants to merge 3 commits into from

Conversation

lloeki
Copy link
Member

@lloeki lloeki commented Jun 18, 2024

What does this PR do?

Make use of the new image versions.

Motivation:

The above.

Additional Notes:

On 1.x-stable, Ruby and JRuby image building should be restricted to those that are not on master.

But really, base images should come from https://github.com/DataDog/images-rb instead.

How to test the change?

CI should pass.

Unsure? Have a question? Request a review!

@lloeki lloeki requested a review from a team as a code owner June 18, 2024 14:55
@lloeki lloeki changed the title Update docker mage usage Update docker image usage Jun 18, 2024
@lloeki
Copy link
Member Author

lloeki commented Jun 18, 2024

Looks like 3.1, 3.2, and 3.3 are not happy about FFI:

An error occurred while loading ./spec/datadog/tracing/contrib/ethon/typhoeus_integration_spec.rb. - Did you mean?
                    rspec ./spec/datadog/tracing/contrib/ethon/integration_test_spec.rb
                    rspec ./spec/datadog/tracing/contrib/ethon/integration_spec.rb
                    rspec ./spec/datadog/tracing/contrib/ethon/integration_context.rb

Failure/Error: require 'ethon'

LoadError:
  libffi.so.7: cannot open shared object file: No such file or directory - /usr/local/bundle/gems/ffi-1.16.3/lib/ffi_c.so
# --- Caused by: ---
# LoadError:
#   cannot load such file -- 3.2/ffi_c
#   /usr/local/bundle/gems/ffi-1.16.3/lib/ffi.rb:3:in `require'

@ivoanjo
Copy link
Member

ivoanjo commented Jun 18, 2024

Looks like 3.1, 3.2, and 3.3 are not happy about FFI:

I think that's CI caching -- it's reusing the installed gems from the older debian version.

@lloeki
Copy link
Member Author

lloeki commented Jun 20, 2024

Bumping binary_version to create another cache worked for CRuby but JRuby still presents crashes.

Details
Datadog::Tracing::Contrib::Httprb::Instrumentation
Jun 20, 2024 10:53:53 AM jnr.netdb.NativeProtocolsDB load
WARNING: Failed to load native protocols db
java.lang.RuntimeException: getprotobyname_r failed
        at jnr.netdb.NativeProtocolsDB$LinuxNativeProtocolsDB.getProtocolByName(NativeProtocolsDB.java:180)
        at jnr.netdb.NativeProtocolsDB.load(NativeProtocolsDB.java:80)
        at jnr.netdb.NativeProtocolsDB.access$000(NativeProtocolsDB.java:40)
        at jnr.netdb.NativeProtocolsDB$SingletonHolder.<clinit>(NativeProtocolsDB.java:47)
        at jnr.netdb.NativeProtocolsDB.getInstance(NativeProtocolsDB.java:43)
        at jnr.netdb.Protocol$ProtocolDBSingletonHolder.load(Protocol.java:107)
        at jnr.netdb.Protocol$ProtocolDBSingletonHolder.<clinit>(Protocol.java:103)
        at jnr.netdb.Protocol.getProtocolDB(Protocol.java:96)
        at jnr.netdb.Protocol.getProtocolByNumber(Protocol.java:59)
        at org.jruby.ext.socket.Addrinfo.<init>(Addrinfo.java:806)
        at org.jruby.ext.socket.SocketUtils$2.addrinfo(SocketUtils.java:255)
        at org.jruby.ext.socket.SocketUtils.buildAddrinfoList(SocketUtils.java:321)
        at org.jruby.ext.socket.SocketUtils.getaddrinfoList(SocketUtils.java:231)
        at org.jruby.ext.socket.Addrinfo.getaddrinfo(Addrinfo.java:307)
        at org.jruby.ext.socket.Addrinfo$INVOKER$s$0$0$getaddrinfo.call(Addrinfo$INVOKER$s$0$0$getaddrinfo.gen)
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:549)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:376)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:175)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:92)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:195)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:182)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:397)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:206)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:92)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:195)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:182)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:397)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:206)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:92)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:195)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:182)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:397)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:206)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:87)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:66)
        at org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1169)
        at org.jruby.ir.instructions.InstanceSuperInstr.interpret(InstanceSuperInstr.java:84)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:138)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:387)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:185)
        at org.jruby.RubyClass.newInstance(RubyClass.java:918)
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:349)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:376)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:175)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:173)
        at org.jruby.runtime.BlockBody.yield(BlockBody.java:117)
        at org.jruby.runtime.Block.yieldNonArray(Block.java:188)
        at org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1788)
        at org.jruby.RubyBasicObject.instance_exec(RubyBasicObject.java:2704)
        at org.jruby.RubyBasicObject$INVOKER$i$0$3$instance_exec.call(RubyBasicObject$INVOKER$i$0$3$instance_exec.gen)
        at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:204)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:387)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:185)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:338)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:376)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:175)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:166)
        at org.jruby.runtime.BlockBody.yield(BlockBody.java:108)
        at org.jruby.runtime.Block.yield(Block.java:184)
        at org.jruby.RubyArray.each(RubyArray.java:1821)
        at org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:555)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:85)
        at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:94)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:546)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:160)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:83)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:66)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:85)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:549)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:160)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:83)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:66)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:85)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:549)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:70)
        at org.jruby.runtime.Block.yieldSpecific(Block.java:153)
        at org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:503)
        at org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:76)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:178)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:104)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:173)
        at org.jruby.runtime.BlockBody.yield(BlockBody.java:117)
        at org.jruby.runtime.Block.yieldArray(Block.java:196)
        at org.jruby.RubyBasicObject.yieldUnder(RubyBasicObject.java:1791)
        at org.jruby.RubyBasicObject.instance_exec(RubyBasicObject.java:2704)
        at org.jruby.RubyBasicObject$INVOKER$i$0$3$instance_exec.call(RubyBasicObject$INVOKER$i$0$3$instance_exec.gen)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
        at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:94)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:546)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:138)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:183)
        at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:192)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:337)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:376)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:175)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:376)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:175)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:166)
        at org.jruby.runtime.BlockBody.yield(BlockBody.java:108)
        at org.jruby.runtime.Block.yield(Block.java:184)
        at org.jruby.RubyArray.collect(RubyArray.java:2575)
        at org.jruby.RubyArray.map19(RubyArray.java:2589)
        at org.jruby.RubyArray$INVOKER$i$0$0$map19.call(RubyArray$INVOKER$i$0$0$map19.gen)
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:555)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
        at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:94)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:546)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:70)
        at org.jruby.runtime.Block.yieldSpecific(Block.java:153)
        at org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:503)
        at org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:76)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:178)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:104)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:87)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:66)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
        at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:94)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:546)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:116)
        at org.jruby.runtime.InterpretedIRBlockBody.commonYieldPath(InterpretedIRBlockBody.java:134)
        at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:166)
        at org.jruby.runtime.BlockBody.yield(BlockBody.java:108)
        at org.jruby.runtime.Block.yield(Block.java:184)
        at org.jruby.ir.runtime.IRRuntimeHelpers.yield(IRRuntimeHelpers.java:499)
        at org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:85)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:178)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:104)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:138)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:387)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:185)
        at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:192)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:337)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:86)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:159)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:146)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:376)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:175)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:92)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:195)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:182)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:397)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:206)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:325)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:87)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:66)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
        at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:549)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:80)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:123)
        at org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:110)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:355)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:144)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:345)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96)
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81)
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30)
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
        at org.jruby.Ruby.runInterpreter(Ruby.java:1240)
        at org.jruby.Ruby.runInterpreter(Ruby.java:1244)
        at org.jruby.Ruby.runNormally(Ruby.java:1133)
        at org.jruby.Ruby.runNormally(Ruby.java:1146)
        at org.jruby.Ruby.runFromMain(Ruby.java:958)
        at org.jruby.Main.doRunFromMain(Main.java:400)
        at org.jruby.Main.internalRun(Main.java:292)
        at org.jruby.Main.run(Main.java:234)
        at org.jruby.Main.main(Main.java:206)

  instrumented request
    when query string in url
/app/lib/datadog/tracing/contrib/active_record/integration.rb:57: warning: instance variable @resolver not initialized
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fae4b407189, pid=2016, tid=0x00007fae6e7ff640
#
# JRE version: OpenJDK Runtime Environment (8.0_412-b08) (build 1.8.0_412-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.412-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libjffi-1.2.so+0x7189]  closure_invoke+0x39
#
# Core dump written. Default location: /app/core or core.2016
#
# An error report file with more information is saved as:
# /app/hs_err_pid2016.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
/opt/jruby/bin/jruby -I/usr/local/bundle/gems/rspec-core-3.12.2/lib:/usr/local/bundle/gems/rspec-support-3.12.1/lib /usr/local/bundle/gems/rspec-core-3.12.2/exe/rspec --pattern spec/datadog/tracing/contrib/httprb/\*\*/\*_spec.rb failed
rake aborted!
Command failed with status (1): [bundle exec appraisal jruby-9.2-http rake spec:httprb]

@ivoanjo
Copy link
Member

ivoanjo commented Dec 9, 2024

This is outdated, as we're now sourcing our images from https://github.com/DataDog/images-rb (I believe based on @lloeki's initial work still -- thanks for that). Going to go ahead and close this one.

@ivoanjo ivoanjo closed this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants